// 创建订单接口
import request from '@/utils/request'
export const createOrder = (data) => {
  return request({
    method: 'POST',
    url: '/member/order',
    data
  })
}
// 获取订单
export const getOrder = (id) => {
  return request({
    url: `/member/order/${id}`
  })
}
